<?php


namespace app\common\validate;


use think\Validate;

class Auth extends Validate
{
    protected $rule = [
        'name' => 'require|unique:auth',
    ];
    protected $message = [
        'name.require' => '名称必须',
        'name.unique' => '名称已被注册',
    ];
}